home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 38 / Amiga Format CD38 (1999-03-15)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-04].iso / -seriously_amiga- / misc / ced_html / html / cedmacros.ced next >
Text File  |  1999-01-25  |  3KB  |  63 lines

  1. /*
  2. ** html.ced
  3. **
  4. ** $VER: html.ced 1.6 (01.07.1999)
  5. **
  6. ** Arexx script to load HTML v3.2 set of macro definitions
  7. **
  8. ** This script works with CygnusEd Professional v4.2
  9. **
  10. ** Copyright © Eric BELLE
  11. */
  12.  
  13. /*
  14. **------------------------------------------------------------------------------
  15. **    Initialisation
  16. **------------------------------------------------------------------------------
  17. */
  18.  
  19. OPTIONS RESULTS                            /* Tell CygnusEd to return results. */
  20. NL = '0A'X                                    /* Alias for new line. */
  21. KRETURN = RAWKEY 68                    /* Shortcut to the return key. */
  22. KTAB = RAWKEY 66                        /* Shortcut to the tab key. */
  23. STATUS TABSARESPACES                /* Return TAB mode ("tab" or "space"). */
  24. IF RESULT = 1                                /* Test the TAB mode. */
  25. THEN "TABS = SPACES"                /* Switch TAB mode from "space" to "tab". */
  26. ELSE NOP                                        /* No operation. */
  27. TAB SIZE 1                                    /* Set TAB size proportional to 2 spaces. */
  28.  
  29. /*
  30. **------------------------------------------------------------------------------
  31. **    Load HTML CygnusED shortcuts
  32. **------------------------------------------------------------------------------
  33. */
  34.  
  35. LOAD DEFINITIONS "CED_HTML:cedmacros.html"
  36. IF (RESULT=0)
  37. THEN OKAY1 "The file CED_HTML:cedmacros.html does not exist"
  38. ELSE OKAY1 ,
  39.             "CygnusED HTML Shortcuts v1.6:                    "    ||    NL    ||,
  40.             "~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     "    ||    NL    ||,            
  41.             "[ctrl]+[shift]+m         main structure   |  [ctrl]+[alt]+t         table structure   "    ||    NL    ||,
  42.             "[ctrl]+[shift]+t         title            |  [ctrl]+[alt]+c           » caption       "    ||    NL    ||,
  43.             "[ctrl]+[shift]+f         font options     |  [ctrl]+[alt]+h           » header cell   "    ||    NL    ||,
  44.             "[ctrl]+[shift]+a         text aspect      |  [ctrl]+[alt]+d           » default cell  "    ||    NL    ||,
  45.             "[ctrl]+[shift]+p         paragraph        |  [ctrl]+[alt]+a         anchor            "    ||    NL    ||,
  46.             "[ctrl]+[shift]+s         sub paragraph    |  [ctrl]+[alt]+m         map               "    ||    NL    ||,
  47.             "[ctrl]+[shift]+l         list structure   |  [ctrl]+[alt]+s           » sensible area "    ||    NL    ||,
  48.             "[ctrl]+[shift]+g         glossary         |  [ctrl]+[alt]+l         link              "    ||    NL    ||,
  49.             "[ctrl]+[shift]+[return]  new line         |  [ctrl]+[alt]+i         image             "    ||    NL    ||,
  50.             "[ctrl]+[shift]+n         no new line      |  [ctrl]+[alt]+f         formular          "    ||    NL    ||,
  51.             "[ctrl]+[shift]+b         horizontal bar   |  [ctrl]+[alt]+1           » single line   " ||    NL    ||,
  52.             "[ctrl]+[shift]+c         comments         |  [ctrl]+[alt]+2           » several line  " ||    NL    ||,
  53.             "[ctrl]+[shift]+i         iso latin 1      |  [ctrl]+[alt]+3           » list          " ||    NL    ||,
  54.             "[ctrl]+[shift]+1         center           |  [ctrl]+[alt]+4           » button        "
  55.  
  56. /*
  57. **------------------------------------------------------------------------------
  58. **    End of cedmacros.ced Arexx script
  59. **------------------------------------------------------------------------------
  60. */
  61.  
  62. EXIT 0
  63.